<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property string $title 名称
 * @property array $content 跟新内容
 * @property int $total 跟新多少项
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class SystemUpdateLog extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'system_update_log';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'title', 'content', 'total', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'content' => 'array', 'total' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
